import 'package:flutter/material.dart';
import 'package:test1/View/MyRowText.dart';
import 'package:test1/pages/utils/Toast.dart';

class Flutter_Utils_Page extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return Flutter_Utils_State();
  }
}

class Flutter_Utils_State extends State<Flutter_Utils_Page> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("工具类"),
        ),
        body: Column(
          children: <Widget>[
            MyRowText("Toast", () {
              Toast.toast(context, "aaaa");
            }),
          ],
        ),
      ),

    );
  }

}